import type {Result} from "@/types/common/Result";
import request from "@/utils/request";

/**
 * 文件上传
 * @returns
 */
export function upload(params: FormData){
  return request.post<Result<string>>(`/common/upload`, params);
}
